package bluerain.io.activity.ui;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

/**
 * Created by foredawn on 15-9-11.
 * 供LauncherActivity启动的Activity
 */
public class Activity01 extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        LinearLayout linear = new LinearLayout(Activity01.this);
        linear.setOrientation(LinearLayout.VERTICAL);
        TextView text = new TextView(Activity01.this);
        text.setTextSize(20);
        text.setTextColor(Color.RED);
        text.setText(this.getClass().toString());
        linear.addView(text);
        setContentView(linear);
    }
}
